package lab.javacore.collections.student;
import java.util.List;


public class Session {
	int id;
	Course course;
	double duration; // hours
	Trainer trainer;
	List <Student> students;
	
	Session(int id, Course course, double duration, Trainer trainer, List <Student> students) {
		this.id = id;
		this.course = course;
		this.duration = duration;
		this.trainer = trainer;
		this.students = students;
	}

	public int getId() {
		return id;
	}

	public Course getCourse() {
		return course;
	}

	public double getDuration() {
		return duration;
	}
	
	public Trainer getTrainer() {
		return trainer;
	}

	public List<Student> getStudents() {
		return students;
	}
	
}
